# 列表的真正意义的复制
# 1. 假复制 用 = 进行赋值
# names = ["Mike","Mary","Jack","Jan"]
# names_源文件 = names.copy()
# names.append("jieting")
# print("names = ",names)
# print("names_源文件 = ",names_源文件)

# 3. 正确的方法2：切片[:]
names = ["Mike","Mary","Jack","Jan"]
names_源文件 = names[:]
names.append("jieting")
print("names = ",names)
print("names_源文件 = ",names_源文件)